import http from '/@lib/utils/http/request'
import { OperLogQuery, OperLogVO } from '/@/api/monitor/sysOperLog/types.ts'

export const ApiSysOperLog: any = {}

// 查询操作日志列表
ApiSysOperLog.page = (queryParam: OperLogQuery): Promise<PageResult<OperLogVO[]>> => {
  return http.get('/sysOperLog/page', queryParam)
}

// // 删除操作日志
// export function delOperlog(operId: string | number | Array<string | number>) {
//   return request({
//     url: '/monitor/operlog/' + operId,
//     method: 'delete'
//   });
// }
//
// // 清空操作日志
// export function cleanOperlog() {
//   return request({
//     url: '/monitor/operlog/clean',
//     method: 'delete'
//   });
// }
